package ct.common.bean;

import java.io.Closeable;
import java.io.IOException;
import java.util.List;

/**
 * @Author Jeremy Zheng
 * @Date 2021/2/10 20:59
 * @Version 1.0
 */
public interface DataIn extends Closeable {
    public void setPath(String path);
    public Object read() throws IOException;
    public <T extends Data> List<T> read(Class<T> clazz) throws IOException;
}
